const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  devServer: {
    port:8080,
    host:'0.0.0.0',
    proxy: {
      '/api': {
        target: 'http://doudian-api.fd1.cc/api',
        changeOrigin: true,
        pathRewrite:{
          '^/api':""
        }
      }
    }
  }
})
